package com.iretailer.report.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.Device;
import com.iretailer.report.model.DeviceMall;
import com.iretailer.report.model.DeviceType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/1/21 11:49
 * @Description:
 */
public interface DeviceMapper extends SuperMapper<Device> {

    IPage<DeviceMall> selectPageDeviceMall(Page page, @Param("ew") QueryWrapper queryWrapper);

    List<DeviceType> selectDeviceType(@Param("ew") Wrapper wrapper);

    List<DeviceMall> selectDeviceMall(@Param("ew") Wrapper wrapper);
}
